package com.shop.pojo;

import java.math.BigDecimal;

/**
 * Orderlist entity. @author MyEclipse Persistence Tools
 */

public class Orderlist implements java.io.Serializable
{

	// Fields

	private String idOl;
	private Orders orders;
	private Book book;
	private String olno;
	private BigDecimal olcount;
	private BigDecimal saleprice;

	// Constructors

	/** default constructor */
	public Orderlist()
	{
	}

	/** minimal constructor */
	public Orderlist(String idOl, String olno)
	{
		this.idOl = idOl;
		this.olno = olno;
	}

	/** full constructor */
	public Orderlist(String idOl, Orders orders, Book book, String olno,
			BigDecimal olcount, BigDecimal saleprice)
	{
		this.idOl = idOl;
		this.orders = orders;
		this.book = book;
		this.olno = olno;
		this.olcount = olcount;
		this.saleprice = saleprice;
	}

	// Property accessors

	public String getIdOl()
	{
		return this.idOl;
	}

	public void setIdOl(String idOl)
	{
		this.idOl = idOl;
	}

	public Orders getOrders()
	{
		return this.orders;
	}

	public void setOrders(Orders orders)
	{
		this.orders = orders;
	}

	public Book getBook()
	{
		return this.book;
	}

	public void setBook(Book book)
	{
		this.book = book;
	}

	public String getOlno()
	{
		return this.olno;
	}

	public void setOlno(String olno)
	{
		this.olno = olno;
	}

	public BigDecimal getOlcount()
	{
		return this.olcount;
	}

	public void setOlcount(BigDecimal olcount)
	{
		this.olcount = olcount;
	}

	public BigDecimal getSaleprice()
	{
		return this.saleprice;
	}

	public void setSaleprice(BigDecimal saleprice)
	{
		this.saleprice = saleprice;
	}

}